home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 9,300 to 9,399
/
9300.zip
/
AOLDLs
/
HTML & Web Tools (MAC)
/
HTML_ MTX Web Publishing Tool
/
MTX Tool 1.3.sit
/
MTX Tool 1.3
/
guide
/
docs
/
tables.mtx
< prev
next >
Wrap
Text File
|
1996-02-22
|
3KB
|
113 lines
%TITLE Tables
%IMAGES ../images/
%HOMEURL http://www.med.ufl.edu/medinfo/
%PARENT Table of Contents
%PARENTURL index.html
%INDEX View MTX File
%INDEXURL tables.mtx
%PREVURL float.html
%NEXTURL quest.html
%AUTHOR Richard Rathe / rrathe@ufl.edu
%AUTHURL rrathe@ufl.edu
%VERSION MTX 1.3 User's Manual / Copyright 1996 by the University of Florida
%PATH http://www.med.ufl.edu/medinfo/mtx/docs/
%MTX 1.3
#Introduction
Tables are one of the most advanced HTML formatting capabilities. Tables consist
of several elements:
One or more {*cells*} arranged into {*rows*} and {*columns*}
Optional row and column {*headings*}
An optional {*border*}
An optional {*caption*}
Web browsers dynamically display tables based on the current window size, font
selection, and other parameters. While it is possible to create exquisitely
customized HTML tables, the communication value of a table tends to decrease in
proportion to its complexity. MTX provides a simplified and flexible format for
defining tables.
#MTX Table Format
Use a leading vertical bar (|) to tag lines that will become part of a table.
Each new line becomes a row in the table. Use additional vertical bars (|) to
delimit columns within each row of a table. Here is an example:
=|A Simple Table
=| |*col 1|*col 2|*col 3
=|*row 1|one |two |three
=|*row 2|four |five |six
=|*row 3|seven |eight |nine
The first line of the table contains the caption and other formatting information.
Leave this line empty or use the "none" switch to suppress the caption. Place a
leading star (*) character in a cell to create a row or column heading. Empty
cells will be blank unless they contain a single star (*) character. Use spaces
to pad lines for better source file readability. Use the line break tag ▓BR│ to
force a line break within a cell.
By default, tables will expand to fill 95% of the width of the current window.
This can be overridden by using the "nowide" switch after the caption. The table
border can be suppressd by using the "noborder" switch. These switches are
combined in the "nowideborder" switch. Blank cells can be suppressed for the
entire table by using the "noblanks" switch. Here are some examples:
=|A Skinny Table|nowide
=|An Invisible Table|noborder
=|A Skinny, Invisible Table|nowideborder
=|A Table with No Blanks|noblanks
Tables are not universally available. Current versions of
{#Netscape#netscape.html#} and NCSA Mosaic support tables. Web browsers from
America Online and certain other online services do not.
#Examples
|A Simple Table
| |*col 1|*col 2|*col 3
|*row 1|one |two |three
|*row 2|four |five |six
|*row 3|seven |eight |nine
{P}
|A More Complex Table
| |*col 1|*col 2|*col 3
|*row 1|one{B}two{B}three| |{=picture=}
|*row 2|This is a long line of text that must all fit in the cell.|five |six
|*row 3| |{#hypertext link#picture.html#}|nine
{P}
|A Skinny Table|nowide
| |*col 1|*col 2|*col 3
|*row 1|one |two |three
|*row 2|four |five |six
|*row 3|seven |eight |nine
{P}
|An Invisible Table|noborder
| |*col 1|*col 2|*col 3
|*row 1|one |two |three
|*row 2|four |five |six
|*row 3|seven |eight |nine
{P}
|A Skinny, Invisible Table|nowideborder
| |*col 1|*col 2|*col 3
|*row 1|one |two |three
|*row 2|four |five |six
|*row 3|seven |eight |nine
{P}
|A Table with No Blanks|noblanks
| |*col 1|*col 2|*col 3
|*row 1|||
|*row 2||five|
|*row 3|||